package com.yishan.gulimall.springsecurity.service;

import com.yishan.gulimall.springsecurity.config.R;
import com.yishan.gulimall.springsecurity.domain.User;

import javax.servlet.http.HttpServletRequest;

public interface LoginService {
    R login(User user);

    R logout(HttpServletRequest request);

}
